<?php
class RSITE_View_Helpers_Perfil extends Zend_View_Helper_Abstract
{
    public function perfil ()
    {
        $auth = Zend_Auth::getInstance();
        if ($auth->hasIdentity()) {
            $perfil = $auth->getIdentity()->idperfil;
            return $perfil;
        }
    }
}